import { Component, OnInit, Inject } from '@angular/core';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
export interface DialogData {
  Field: string;
  Value: string;
  Operate: string;
  Status: string;
  NodeType: string;
  PlainText: string;
  ColumnNames: string[];
}
@Component({
  // tslint:disable-next-line: component-selector
  selector: 'app-dialog',
  templateUrl: './dialog.component.html',
  styleUrls: ['./dialog.component.scss']
})
export class DialogComponent implements OnInit {
  OperateArray = ['>', '<', '='];

  constructor(public dialogRef: MatDialogRef<DialogComponent>, @Inject(MAT_DIALOG_DATA) public data: DialogData) {}

  ngOnInit() {}

  delete() {
    this.data.Status = 'delete';
  }
}
